package com.danbay.framework.protocol.command;



public class ProtocolMessage implements ICommandProtocol {

	private String cmdName;
	private String data;


	@Override
	public String getCmdName() {
		return cmdName;
	}

	@Override
	public void setCmdName(String cmdName) {
		this.cmdName=cmdName;
	}

	@Override
	public String getData() {
		return data;
	}

	@Override
	public void setData(String data) {
		this.data=data;
	}

	public ProtocolMessage() {
	}

	public ProtocolMessage(String cmdName, String data) {
		this.cmdName = cmdName;
		this.data = data;
	}
}
